# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(HOMEPATH,'support\\useUnicode.py'), 'gui.py'],
             pathex=['C:\\Users\\matthew\\workspace\\hhmodelmanager\\src'])
a.datas += [('swmmr.sql','C:\\Users\\matthew\\workspace\\hhmodelmanager\\src\\swmmr\\setup.sql', 'DATA'),
            ('swmmr.ini', 'C:\\Users\\matthew\\workspace\\hhmodelmanager\\src\\resources\\swmmr.ini', 'DATA'),
            ('icons\\swmmr.ico', 'C:\\Users\\matthew\\workspace\\hhmodelmanager\\src\\resources\\icons\\swmmr.ico', 'DATA'),
            ('icons\\upload.png', 'C:\\Users\\matthew\\workspace\\hhmodelmanager\\src\\resources\\icons\\upload.png', 'DATA'),
            ('icons\\download.png', 'C:\\Users\\matthew\\workspace\\hhmodelmanager\\src\\resources\\icons\\download.png', 'DATA'),
            ('icons\\cascade.png', 'C:\\Users\\matthew\\workspace\\hhmodelmanager\\src\\resources\\icons\\cascade.png', 'DATA'),
            ('icons\\swmm.png', 'C:\\Users\\matthew\\workspace\\hhmodelmanager\\src\\resources\\icons\\swmm.png', 'DATA')]
pyz = PYZ(a.pure)
exe = EXE( pyz,
          a.scripts,
          a.binaries,
          a.zipfiles,
          a.datas,
          name=os.path.join('dist', 'swmmr.exe'),
          debug=False,
          strip=False,
          upx=True,
          console=False , icon='resources\\icons\\swmmr.ico')
app = BUNDLE(exe,
             name=os.path.join('dist', 'swmmr.exe.app'))
